package com.koron.device.bean;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author twcao
 * @title: EquipmentQuery
 * @projectName GDH_EAM_V2
 * @description: 设备查询参数
 * @date 2022/2/1510:46
 */
@Data
@ApiModel("设备查询参数")
public class EquipmentQuery extends PageQuery {

    @ApiModelProperty("设备名称")
    private String id;

    @ApiModelProperty("设备名称")
    private String name;

    @ApiModelProperty("父节点id")
    private String parentId;

    /**
     * @see com.koron.device.service.propconfig.PropConfig
     */
    @ApiModelProperty("需要过滤设置的属性名")
    private List<String> configRules = new ArrayList<>();

    @ApiModelProperty("设备管理单位")
    private List<String> managerUnits;

    @ApiModelProperty("标准类别，字典值")
    private String standardType;

    @ApiModelProperty("是否查询经纬度")
    private Boolean hasLatlon;


    @ApiModelProperty("视图类型 位置locCode、工艺subProcessCode、专业assetGroupCode")
    private String viewType;

    @ApiModelProperty("位置编码")
    private String locCode;

    @ApiModelProperty("工艺编码")
    private String subProcessCode;

    @ApiModelProperty("专业编码")
    private String assetGroupCode;


}
